﻿using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;

namespace FlyingEye.MixingProcess
{
    public interface IMixingControlCentreRepository : ITransientDependency
    {
        Task DeleteAsync(string id, CancellationToken cancellationToken = default);
        Task InsertAsync(MixingControlCentrelModel entity, bool autoSave = false, CancellationToken cancellationToken = default);
        Task UpdateAsync(MixingControlCentrelModel entity, bool autoSave = false, CancellationToken cancellationToken = default);
    }
}